package com.woniu.outlet.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("返修申请")
public class RepairApplication {
    @ApiModelProperty("id")
    private Integer id;
    @NotNull
    @ApiModelProperty("工序id")
    private Integer procedureId;
    @NotNull
    @ApiModelProperty("工序名称")
    private String procedureName;
    @NotNull
    @ApiModelProperty("返修数量")
    private Integer repairNum;
    @NotNull
    @ApiModelProperty("订单编号")
    private String orderCode;
    @ApiModelProperty("状态")
    private String check;
    @ApiModelProperty("返修验收")
    private RepairAcceptance repairAcceptance;  //返修申请与返修验收是一对一的关系
    @ApiModelProperty("备注")
    private String remarks;
    private String spare1;
    private String spare2;
    private String spare3;
}